//
//  AppDelegate.m
//  YMMedical
//
//  Created by y s on 2023/6/19.
//

#import "AppDelegate.h"
#import "YMMedicalUtil.h"
#import "YMBaseTabBarController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    [[YMMedicalUtil shared] launch:launchOptions];
    [self setUI];
    [NSThread sleepForTimeInterval:1.0];
    return YES;
}

#pragma mark -- UI
- (void)setUI{
    self.window = [[UIWindow alloc] initWithFrame:[SFitUtil mainScreen].bounds];
    self.window.rootViewController = [[YMBaseTabBarController alloc] init];
    [self.window makeKeyAndVisible];
}



@end
